\hypertarget{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs}{
\section{Zebulon::MCU::SetDigitalOutputs Class Reference}
\label{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs}\index{Zebulon::MCU::SetDigitalOutputs@{Zebulon::MCU::SetDigitalOutputs}}
}


Command message to set the desired thrust of a motor.  


{\ttfamily \#include $<$setdigitaloutputs.h$>$}Inheritance diagram for Zebulon::MCU::SetDigitalOutputs::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs_a26bd0e329505126ab9c461c469db5dd5}{
\hyperlink{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs_a26bd0e329505126ab9c461c469db5dd5}{SetDigitalOutputs} ()}
\label{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs_a26bd0e329505126ab9c461c469db5dd5}

\begin{DoxyCompactList}\small\item\em Constructor. \item\end{DoxyCompactList}\item 
\hypertarget{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs_af1f5a504017557fa91781e27b98b8ca5}{
virtual \hyperlink{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs_af1f5a504017557fa91781e27b98b8ca5}{$\sim$SetDigitalOutputs} ()}
\label{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs_af1f5a504017557fa91781e27b98b8ca5}

\begin{DoxyCompactList}\small\item\em Destructor. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs_afebe01a6fc79cc24d934683ee775787c}{WriteMessageBody} (CxUtils::Packet \&packet) const 
\begin{DoxyCompactList}\small\item\em Writes the contents of the message payload to the packet. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs_abe51c5a8620dedefc720cae4982b07af}{ReadMessageBody} (const CxUtils::Packet \&packet)
\begin{DoxyCompactList}\small\item\em Reads the contents of the message payload from the packet, and saves to internal data members. \item\end{DoxyCompactList}\item 
\hypertarget{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs_aaf2e5f06cde3dfc64f1c82072c2c22e0}{
virtual void {\bfseries Print} () const }
\label{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs_aaf2e5f06cde3dfc64f1c82072c2c22e0}

\item 
\hypertarget{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs_a0d98be97393f6de15cf383076be14845}{
virtual \hyperlink{class_zebulon_1_1_m_c_u_1_1_message}{Message} $\ast$ \hyperlink{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs_a0d98be97393f6de15cf383076be14845}{Clone} () const }
\label{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs_a0d98be97393f6de15cf383076be14845}

\begin{DoxyCompactList}\small\item\em Makes a clone of the message. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs_ad6a7ebc733f7bb92a8458cc715514993}{
unsigned char \hyperlink{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs_ad6a7ebc733f7bb92a8458cc715514993}{mPort}}
\label{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs_ad6a7ebc733f7bb92a8458cc715514993}

\begin{DoxyCompactList}\small\item\em The port we are commanding. \item\end{DoxyCompactList}\item 
\hypertarget{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs_a18de52fa7c996ff09ca23398e5017d65}{
unsigned char \hyperlink{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs_a18de52fa7c996ff09ca23398e5017d65}{mValue}}
\label{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs_a18de52fa7c996ff09ca23398e5017d65}

\begin{DoxyCompactList}\small\item\em On or off. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Command message to set the desired thrust of a motor. 

\subsection{Member Function Documentation}
\hypertarget{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs_abe51c5a8620dedefc720cae4982b07af}{
\index{Zebulon::MCU::SetDigitalOutputs@{Zebulon::MCU::SetDigitalOutputs}!ReadMessageBody@{ReadMessageBody}}
\index{ReadMessageBody@{ReadMessageBody}!Zebulon::MCU::SetDigitalOutputs@{Zebulon::MCU::SetDigitalOutputs}}
\subsubsection[{ReadMessageBody}]{\setlength{\rightskip}{0pt plus 5cm}int SetDigitalOutputs::ReadMessageBody (const CxUtils::Packet \& {\em packet})\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs_abe51c5a8620dedefc720cae4982b07af}


Reads the contents of the message payload from the packet, and saves to internal data members. 
\begin{DoxyParams}{Parameters}
\item[\mbox{$\leftarrow$} {\em packet}]Packet to read from.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
4 on success, 0 on failure. 
\end{DoxyReturn}


Reimplemented from \hyperlink{class_zebulon_1_1_m_c_u_1_1_message}{Zebulon::MCU::Message}.\hypertarget{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs_afebe01a6fc79cc24d934683ee775787c}{
\index{Zebulon::MCU::SetDigitalOutputs@{Zebulon::MCU::SetDigitalOutputs}!WriteMessageBody@{WriteMessageBody}}
\index{WriteMessageBody@{WriteMessageBody}!Zebulon::MCU::SetDigitalOutputs@{Zebulon::MCU::SetDigitalOutputs}}
\subsubsection[{WriteMessageBody}]{\setlength{\rightskip}{0pt plus 5cm}int SetDigitalOutputs::WriteMessageBody (CxUtils::Packet \& {\em packet}) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_zebulon_1_1_m_c_u_1_1_set_digital_outputs_afebe01a6fc79cc24d934683ee775787c}


Writes the contents of the message payload to the packet. 
\begin{DoxyParams}{Parameters}
\item[\mbox{$\leftarrow$} {\em packet}]Packet to write to.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
4 on success, 0 on failure. 
\end{DoxyReturn}


Reimplemented from \hyperlink{class_zebulon_1_1_m_c_u_1_1_message}{Zebulon::MCU::Message}.

The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
C:/Users/Matt/Documents/School/Robotics/zebulon/v2/mcu/include/mcu/\hyperlink{setdigitaloutputs_8h}{setdigitaloutputs.h}\item 
C:/Users/Matt/Documents/School/Robotics/zebulon/v2/mcu/src/mcu/\hyperlink{setdigitaloutputs_8cpp}{setdigitaloutputs.cpp}\end{DoxyCompactItemize}
